//
//  UILabel+Music.m
//  04-qq音乐播放界面
//
//  Created by dllo on 16/7/19.
//  Copyright © 2016年 YMJ. All rights reserved.
//

#import "UILabel+Music.h"

@implementation UILabel (Music)
+ (UILabel *)songNameLabelCreated {
    UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, WIDTH - 110, 30)];
    label.center = CGPointMake(WIDTH / 2, 30 / 2 + 20);
    label.backgroundColor = [UIColor clearColor];
    label.text = @"不害怕";
    label.textColor = [UIColor whiteColor];
    label.font = [UIFont italicSystemFontOfSize:22];
    label.textAlignment = 1;
    return label;
}
+ (UILabel *)singerLabelCreated {
    UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, WIDTH / 2, 30)];
    label.center = CGPointMake(WIDTH / 2, 30 / 2 + 20 + 30);
    label.backgroundColor = [UIColor clearColor];
    label.text = @"一 张韶涵 一";
    label.textColor = [UIColor whiteColor];
    label.font = [UIFont italicSystemFontOfSize:20];
    label.textAlignment = 1;
    return label;
}
+ (UILabel *)lyricLabelCreated {
    UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, WIDTH - 110, 30)];
    label.center = CGPointMake(WIDTH / 2, HEIGHT / 2 - 100 + WIDTH / 3 + 40);
    label.backgroundColor = [UIColor clearColor];
    label.text = @"有时候天使不回答";
    label.textColor = [UIColor whiteColor];
    label.font = [UIFont italicSystemFontOfSize:20];
    label.textAlignment = 1;
    return label;
}
+ (UILabel *)currentTimeLabelCreated {
    UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 45, 30)];
    label.center = CGPointMake(10 + 45/2, HEIGHT / 2 - 100 + WIDTH / 3 + 40 + 30 + 20 + 30 + 10);
    label.backgroundColor = [UIColor clearColor];
    label.text = @"00:25";
    label.textColor = [UIColor whiteColor];
    label.font = [UIFont italicSystemFontOfSize:15];
    label.textAlignment = 1;
    return label;
}
+ (UILabel *)totalLengthOfTheSongLabelCreated {
    UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 45, 30)];
    label.center = CGPointMake(WIDTH - (10 + 45/2), HEIGHT / 2 - 100 + WIDTH / 3 + 40 + 30 + 20 + 30 + 10);
    label.backgroundColor = [UIColor clearColor];
    label.text = @"03:51";
    label.textColor = [UIColor whiteColor];
    label.font = [UIFont italicSystemFontOfSize:15];
    label.textAlignment = 1;
    return label;
}
@end
